Current File : /var/www/vinorea/var/cache/dev/twig/99/997068ce91906d10160587da805367f6.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @PrestaShop/Admin/layout.html.twig */
class __TwigTemplate_c0bc9a73c6e20fecdf8b4f7b1b472897 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascripts' => [$this, 'block_javascripts'],
'translate_javascripts' => [$this, 'block_translate_javascripts'],
'content_header' => [$this, 'block_content_header'],
'session_alert' => [$this, 'block_session_alert'],
'sidebar_right' => [$this, 'block_sidebar_right'],
];
}
protected function doGetParent(array $context)
{
// line 25
return $this->loadTemplate(twig_template_from_string($this->env, $this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getLegacyLayout(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 27
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "attributes", [], "any", false, false, false, 27), "get", [0 => "_legacy_controller"], "method", false, false, false, 27), (( // line 28
array_key_exists("layoutTitle", $context)) ? ((isset($context["layoutTitle"]) || array_key_exists("layoutTitle", $context) ? $context["layoutTitle"] : (function () { throw new RuntimeError('Variable "layoutTitle" does not exist.', 28, $this->source); })())) : ("")), (( // line 29
array_key_exists("layoutHeaderToolbarBtn", $context)) ? ((isset($context["layoutHeaderToolbarBtn"]) || array_key_exists("layoutHeaderToolbarBtn", $context) ? $context["layoutHeaderToolbarBtn"] : (function () { throw new RuntimeError('Variable "layoutHeaderToolbarBtn" does not exist.', 29, $this->source); })())) : ([])), (( // line 30
array_key_exists("layoutDisplayType", $context)) ? ((isset($context["layoutDisplayType"]) || array_key_exists("layoutDisplayType", $context) ? $context["layoutDisplayType"] : (function () { throw new RuntimeError('Variable "layoutDisplayType" does not exist.', 30, $this->source); })())) : ("")), (( // line 31
array_key_exists("showContentHeader", $context)) ? ((isset($context["showContentHeader"]) || array_key_exists("showContentHeader", $context) ? $context["showContentHeader"] : (function () { throw new RuntimeError('Variable "showContentHeader" does not exist.', 31, $this->source); })())) : (true)), (( // line 32
array_key_exists("headerTabContent", $context)) ? ((isset($context["headerTabContent"]) || array_key_exists("headerTabContent", $context) ? $context["headerTabContent"] : (function () { throw new RuntimeError('Variable "headerTabContent" does not exist.', 32, $this->source); })())) : ("")), (( // line 33
array_key_exists("enableSidebar", $context)) ? ((isset($context["enableSidebar"]) || array_key_exists("enableSidebar", $context) ? $context["enableSidebar"] : (function () { throw new RuntimeError('Variable "enableSidebar" does not exist.', 33, $this->source); })())) : (false)), (( // line 34
array_key_exists("help_link", $context)) ? ((isset($context["help_link"]) || array_key_exists("help_link", $context) ? $context["help_link"] : (function () { throw new RuntimeError('Variable "help_link" does not exist.', 34, $this->source); })())) : ("")), $this->extensions['PrestaShopBundle\Twig\Extension\JsRouterMetadataExtension']->getJsRouterMetadata(), (( // line 36
array_key_exists("meta_title", $context)) ? ((isset($context["meta_title"]) || array_key_exists("meta_title", $context) ? $context["meta_title"] : (function () { throw new RuntimeError('Variable "meta_title" does not exist.', 36, $this->source); })())) : ("")), (( // line 37
array_key_exists("use_regular_h1_structure", $context)) ? ((isset($context["use_regular_h1_structure"]) || array_key_exists("use_regular_h1_structure", $context) ? $context["use_regular_h1_structure"] : (function () { throw new RuntimeError('Variable "use_regular_h1_structure" does not exist.', 37, $this->source); })())) : (true)), (( // line 38
array_key_exists("legacyBaseLayout", $context)) ? ((isset($context["legacyBaseLayout"]) || array_key_exists("legacyBaseLayout", $context) ? $context["legacyBaseLayout"] : (function () { throw new RuntimeError('Variable "legacyBaseLayout" does not exist.', 38, $this->source); })())) : ("layout.tpl")))), "@PrestaShop/Admin/layout.html.twig", 25);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/layout.html.twig"));
// line 25
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 42
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 43
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/default/js/bundle/default.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/default/js/bundle/right-sidebar.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/new-theme/public/form_popover_error.bundle.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 48
public function block_translate_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translate_javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translate_javascripts"));
// line 49
echo " <script>
var translate_javascripts = ";
// line 50
echo json_encode((isset($context["js_translatable"]) || array_key_exists("js_translatable", $context) ? $context["js_translatable"] : (function () { throw new RuntimeError('Variable "js_translatable" does not exist.', 50, $this->source); })()));
echo ";
var PS_ALLOW_ACCENTED_CHARS_URL = ";
// line 51
echo twig_escape_filter($this->env, $this->extensions['PrestaShopBundle\Twig\DataFormatterExtension']->intCast($this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getConfiguration("PS_ALLOW_ACCENTED_CHARS_URL")), "html", null, true);
echo ";
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 55
public function block_content_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));
// line 56
echo " ";
$this->displayBlock("session_alert", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 59
public function block_session_alert($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "session_alert"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "session_alert"));
// line 60
echo " ";
// line 80
echo " ";
$macros["layout"] = $this;
// line 81
echo "
";
// line 82
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 82, $this->source); })()), "session", [], "any", false, false, false, 82), "flashbag", [], "any", false, false, false, 82), "peek", [0 => "error"], "method", false, false, false, 82)) > 0)) {
// line 83
echo " ";
echo twig_call_macro($macros["layout"], "macro_alert", ["danger", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 83, $this->source); })()), "session", [], "any", false, false, false, 83), "flashbag", [], "any", false, false, false, 83), "get", [0 => "error"], "method", false, false, false, 83)], 83, $context, $this->getSourceContext());
echo "
";
}
// line 85
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 85, $this->source); })()), "session", [], "any", false, false, false, 85), "flashbag", [], "any", false, false, false, 85), "peek", [0 => "failure"], "method", false, false, false, 85)) > 0)) {
// line 86
echo " ";
echo twig_call_macro($macros["layout"], "macro_alert", ["danger", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 86, $this->source); })()), "session", [], "any", false, false, false, 86), "flashbag", [], "any", false, false, false, 86), "get", [0 => "failure"], "method", false, false, false, 86)], 86, $context, $this->getSourceContext());
echo "
";
}
// line 88
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 88, $this->source); })()), "session", [], "any", false, false, false, 88), "flashbag", [], "any", false, false, false, 88), "peek", [0 => "success"], "method", false, false, false, 88)) > 0)) {
// line 89
echo " ";
echo twig_call_macro($macros["layout"], "macro_alert", ["success", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 89, $this->source); })()), "session", [], "any", false, false, false, 89), "flashbag", [], "any", false, false, false, 89), "get", [0 => "success"], "method", false, false, false, 89)], 89, $context, $this->getSourceContext());
echo "
";
}
// line 91
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "session", [], "any", false, false, false, 91), "flashbag", [], "any", false, false, false, 91), "peek", [0 => "warning"], "method", false, false, false, 91)) > 0)) {
// line 92
echo " ";
echo twig_call_macro($macros["layout"], "macro_alert", ["warning", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 92, $this->source); })()), "session", [], "any", false, false, false, 92), "flashbag", [], "any", false, false, false, 92), "get", [0 => "warning"], "method", false, false, false, 92)], 92, $context, $this->getSourceContext());
echo "
";
}
// line 94
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 94, $this->source); })()), "session", [], "any", false, false, false, 94), "flashbag", [], "any", false, false, false, 94), "peek", [0 => "info"], "method", false, false, false, 94)) > 0)) {
// line 95
echo " ";
echo twig_call_macro($macros["layout"], "macro_alert", ["info", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 95, $this->source); })()), "session", [], "any", false, false, false, 95), "flashbag", [], "any", false, false, false, 95), "get", [0 => "info"], "method", false, false, false, 95)], 95, $context, $this->getSourceContext());
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 99
public function block_sidebar_right($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar_right"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar_right"));
// line 100
echo " <nav
id=\"right-sidebar\"
role=\"navigation\"
class=\"col-lg-3 sidebar sidebar-right sidebar-animate text-sm-center\"
>
<img
src=\"";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/default/img/bundle/dashboard_loading.gif"), "html", null, true);
echo "\"
style=\"margin-top: 10em;\" alt=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Loading...", [], "Admin.Global"), "html", null, true);
echo "\"
/>
</nav>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 60
public function macro_alert($__type__ = null, $__flashbagContent__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"type" => $__type__,
"flashbagContent" => $__flashbagContent__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "alert"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "alert"));
// line 61
echo " <div class=\"alert alert-";
echo twig_escape_filter($this->env, (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 61, $this->source); })()), "html", null, true);
echo " d-print-none\" role=\"alert\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\"><i class=\"material-icons\">close</i></span>
</button>
";
// line 65
if ((twig_length_filter($this->env, (isset($context["flashbagContent"]) || array_key_exists("flashbagContent", $context) ? $context["flashbagContent"] : (function () { throw new RuntimeError('Variable "flashbagContent" does not exist.', 65, $this->source); })())) > 1)) {
// line 66
echo " <ul class=\"alert-text\">
";
// line 67
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["flashbagContent"]) || array_key_exists("flashbagContent", $context) ? $context["flashbagContent"] : (function () { throw new RuntimeError('Variable "flashbagContent" does not exist.', 67, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 68
echo " <li>";
echo $context["flashMessage"];
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo " </ul>
";
} else {
// line 72
echo " <div class=\"alert-text\">
";
// line 73
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["flashbagContent"]) || array_key_exists("flashbagContent", $context) ? $context["flashbagContent"] : (function () { throw new RuntimeError('Variable "flashbagContent" does not exist.', 73, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 74
echo " <p>";
echo $context["flashMessage"];
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
echo " </div>
";
}
// line 78
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "@PrestaShop/Admin/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 333 => 78, 329 => 76, 320 => 74, 316 => 73, 313 => 72, 309 => 70, 300 => 68, 296 => 67, 293 => 66, 291 => 65, 283 => 61, 263 => 60, 249 => 107, 245 => 106, 237 => 100, 227 => 99, 213 => 95, 210 => 94, 204 => 92, 201 => 91, 195 => 89, 192 => 88, 186 => 86, 183 => 85, 177 => 83, 175 => 82, 172 => 81, 169 => 80, 167 => 60, 157 => 59, 144 => 56, 134 => 55, 121 => 51, 117 => 50, 114 => 49, 104 => 48, 92 => 45, 88 => 44, 83 => 43, 73 => 42, 63 => 25, 50 => 38, 49 => 37, 48 => 36, 47 => 34, 46 => 33, 45 => 32, 44 => 31, 43 => 30, 42 => 29, 41 => 28, 40 => 27, 39 => 25,);
}
public function getSourceContext()
{
return new Source("{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*#}
{% extends(template_from_string(
getLegacyLayout(
app.request.attributes.get('_legacy_controller'),
layoutTitle is defined ? layoutTitle : '',
layoutHeaderToolbarBtn is defined ? layoutHeaderToolbarBtn : [],
layoutDisplayType is defined ? layoutDisplayType : '',
showContentHeader is defined ? showContentHeader : true,
headerTabContent is defined ? headerTabContent : '',
enableSidebar is defined ? enableSidebar : false,
help_link is defined ? help_link : '',
js_router_metadata(),
meta_title is defined ? meta_title : '',
use_regular_h1_structure is defined ? use_regular_h1_structure : true,
legacyBaseLayout is defined ? legacyBaseLayout : 'layout.tpl'
)
)) %}
{% block javascripts %}
<script src=\"{{ asset('themes/default/js/bundle/default.js') }}\"></script>
<script src=\"{{ asset('themes/default/js/bundle/right-sidebar.js') }}\"></script>
<script src=\"{{ asset('themes/new-theme/public/form_popover_error.bundle.js') }}\"></script>
{% endblock %}
{% block translate_javascripts %}
<script>
var translate_javascripts = {{ js_translatable|json_encode()|raw }};
var PS_ALLOW_ACCENTED_CHARS_URL = {{ configuration('PS_ALLOW_ACCENTED_CHARS_URL')|intCast }};
</script>
{% endblock %}
{% block content_header %}
{{ block('session_alert') }}
{% endblock %}
{% block session_alert %}
{% macro alert(type, flashbagContent) %}
<div class=\"alert alert-{{ type }} d-print-none\" role=\"alert\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
<span aria-hidden=\"true\"><i class=\"material-icons\">close</i></span>
</button>
{% if flashbagContent|length > 1 %}
<ul class=\"alert-text\">
{% for flashMessage in flashbagContent %}
<li>{{ flashMessage|raw }}</li>
{% endfor %}
</ul>
{% else %}
<div class=\"alert-text\">
{% for flashMessage in flashbagContent %}
<p>{{ flashMessage|raw }}</p>
{% endfor %}
</div>
{% endif %}
</div>
{% endmacro %}
{% import _self as layout %}
{% if app.session.flashbag.peek('error')|length() > 0 %}
{{ layout.alert('danger', app.session.flashbag.get('error')) }}
{% endif %}
{% if app.session.flashbag.peek('failure')|length() > 0 %}
{{ layout.alert('danger', app.session.flashbag.get('failure')) }}
{% endif %}
{% if app.session.flashbag.peek('success')|length() > 0 %}
{{ layout.alert('success', app.session.flashbag.get('success')) }}
{% endif %}
{% if app.session.flashbag.peek('warning')|length() > 0 %}
{{ layout.alert('warning', app.session.flashbag.get('warning')) }}
{% endif %}
{% if app.session.flashbag.peek('info')|length() > 0 %}
{{ layout.alert('info', app.session.flashbag.get('info')) }}
{% endif %}
{% endblock %}
{% block sidebar_right %}
<nav
id=\"right-sidebar\"
role=\"navigation\"
class=\"col-lg-3 sidebar sidebar-right sidebar-animate text-sm-center\"
>
<img
src=\"{{ asset('themes/default/img/bundle/dashboard_loading.gif') }}\"
style=\"margin-top: 10em;\" alt=\"{{ 'Loading...'|trans({}, 'Admin.Global') }}\"
/>
</nav>
{% endblock %}
", "@PrestaShop/Admin/layout.html.twig", "/var/www/vinorea/src/PrestaShopBundle/Resources/views/Admin/layout.html.twig");
}
}